from core.basic.skill import 技能
from core.basic.character import Character
from core.basic.skill import 主动技能, 被动技能

class 技能0(主动技能):
    名称 = '暗魂波'
    所在等级 = 5
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    MP = [15, 161]
    # 三觉后技能数据有轻微变化
    data0 = [0, 758, 851, 948, 1039, 1130, 1219, 1312, 1406, 1497, 1586, 1681, 1771, 1866, 1959, 2045, 2144, 2233, 2319, 2417, 2506, 2600, 2691, 2783, 2877, 2964, 3055, 3153, 3240, 3334, 3426, 3517, 3611, 3700, 3793, 3885, 3979, 4072, 4160, 4251, 4348, 4436, 4531, 4621, 4708, 4807, 4899, 4986, 5078, 5169, 5268, 5356, 5447, 5541, 5632, 5722, 5815, 5903, 6001, 6094, 6180, 6274, 6367, 6462, 6550, 6641, 6735, 6823, 6915, 7012, 7100]
    hit0 = 4
    # 蓄力增伤35%
    倍率 = 1.35
    CD = 3.5
    TP成长 = 0.10
    TP上限 = 7

    国服特色 = 1


class 技能1(主动技能):
    名称 = '诅咒之箭'
    所在等级 = 15
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    MP = [22, 235]
    data0 = [0, 507, 558, 609, 661, 713, 764, 816, 867, 918, 971, 1023, 1074, 1126, 1177, 1228, 1279, 1332, 1382, 1435, 1485, 1538, 1588, 1642, 1692, 1744, 1795, 1847, 1898, 1949, 2001, 2053, 2104, 2156, 2207, 2257, 2311, 2363, 2414, 2466, 2517, 2567, 2619, 2671, 2722, 2774, 2825, 2877, 2928, 2980, 3032, 3084, 3135, 3187, 3238, 3289, 3341, 3393, 3443, 3496, 3546, 3597, 3651, 3703, 3753, 3805, 3856, 3907, 3959, 4011, 4062]
    hit0 = 5
    CD = 10
    TP成长 = 0.1
    TP上限 = 7

    国服特色 = 1


class 技能2(主动技能):
    名称 = '降临：尼古拉斯'
    所在等级 = 15
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    MP = [30, 420]
    data0 = [0, 105, 114, 126, 135, 147, 158, 169, 179, 191, 200, 213, 222, 234, 243, 255, 263, 274, 285, 297, 306, 318, 327, 340, 349, 361, 371, 382, 393, 405, 414, 425, 435, 447, 457, 468, 479, 489, 501, 511, 522, 533, 543, 555, 565, 575, 586, 596, 607, 618, 629, 640, 650, 661, 672, 683, 694, 704, 715, 726, 736, 748, 757, 769, 779, 791, 800, 812, 822, 834, 844]
    hit0 = 4
    # CD为测试数据
    CD = 2
    TP成长 = 0.1
    TP上限 = 7

    data1 = [0, 208, 229, 251, 272, 294, 316, 337, 359, 379, 400, 423, 444, 466, 487, 508, 528, 549, 572, 593, 614, 636, 657, 678, 700, 721, 743, 764, 786, 808, 829, 851, 872, 894, 916, 937, 959, 980, 1001, 1023, 1044, 1065, 1087, 1109, 1131, 1151, 1172, 1194, 1215, 1238, 1259, 1280, 1299, 1321, 1343, 1365, 1386, 1407, 1429, 1451, 1473, 1494, 1515, 1537, 1559, 1581, 1602, 1622, 1644, 1666, 1687]
    hit1 = 0
    data2 = [0, 623, 687, 753, 814, 880, 943, 1008, 1073, 1136, 1201, 1266, 1331, 1396, 1459, 1524, 1586, 1652, 1715, 1780, 1844, 1909, 1974, 2037, 2103, 2167, 2231, 2295, 2358, 2423, 2487, 2553, 2617, 2681, 2746, 2809, 2874, 2939, 3003, 3067, 3132, 3197, 3261, 3325, 3390, 3454, 3518, 3582, 3647, 3711, 3777, 3841, 3904, 3969, 4033, 4097, 4161, 4225, 4290, 4355, 4420, 4484, 4548, 4612, 4676, 4740, 4805, 4868, 4933, 4998, 5063]
    hit2 = 0

    形态 = ['蜘蛛', '艾克']

    def 形态变更(self, 形态, char):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "蜘蛛":
            self.hit0 = 4
            self.hit1 = 0
            self.hit2 = 0
            self.CD = 2
            if self.TP等级 > 0:
                self.power0 = 1.5
        if 形态 == "艾克":
            self.hit0 = 0
            self.hit1 = 1
            self.hit2 = 1
            self.CD = 6


class 技能3(主动技能):
    名称 = '驱使僵尸'
    所在等级 = 20
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    MP = [30, 420]
    # 僵尸自爆(非抓)
    data0 = [0, 668, 733, 800, 868, 937, 1004, 1071, 1140, 1206, 1276, 1340, 1408, 1476, 1546, 1614, 1680, 1747, 1814, 1885, 1950, 2019, 2086, 2154, 2221, 2288, 2356, 2421, 2490, 2555, 2627, 2692, 2761, 2829, 2895, 2964, 3030, 3101, 3168, 3236, 3300, 3369, 3438, 3506, 3572, 3642, 3705, 3774, 3843, 3908, 3977, 4044, 4109, 4180, 4248, 4318, 4382, 4451, 4520, 4588, 4653, 4719, 4788, 4856, 4925, 4993, 5057, 5123, 5191, 5260, 5328]
    hit0 = 5
    # 僵尸撕咬(抓取--对单)
    data1 = [0, 57, 60, 67, 70, 74, 82, 86, 92, 97, 102, 110, 115, 119, 127, 131, 138, 143, 144, 153, 157, 162, 169, 174, 179, 186, 190, 198, 202, 209, 214, 218, 226, 227, 233, 239, 246, 250, 257, 260, 269, 272, 279, 285, 289, 296, 299, 305, 309, 315, 320, 327, 333, 338, 343, 347, 355, 358, 365, 371, 376, 382, 388, 392, 398, 404, 410, 414, 422, 426, 430]
    hit1 = 0
    data2 = [0, 106, 118, 130, 142, 154, 163, 175, 183, 194, 205, 217, 228, 240, 251, 260, 270, 283, 295, 305, 318, 328, 336, 346, 356, 370, 382, 394, 404, 411, 426, 436, 446, 458, 469, 482, 494, 499, 510, 523, 535, 542, 557, 567, 579, 589, 600, 613, 622, 637, 642, 654, 664, 676, 688, 698, 710, 720, 731, 743, 754, 766, 776, 783, 795, 808, 818, 830, 840, 852, 862]
    hit2 = 0
    data3 = [0, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 91, 93, 95, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, 119, 121, 123, 125, 127, 129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151, 153, 155]
    hit3 = 0
    CD = 8
    TP成长 = 0.10
    TP上限 = 7

    形态 = ["自爆", "撕咬"]

    def 形态变更(self, 形态, char):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "自爆":
            self.hit0 = 5
            self.hit1 = 0
            self.hit2 = 0
            self.hit3 = 0
        if 形态 == "撕咬":
            self.hit0 = 5
            self.hit1 = 2
            self.hit2 = 1
            self.hit3 = 1


class 技能4(主动技能):
    名称 = '服从'
    所在等级 = 20
    等级上限 = 20
    学习间隔 = 2
    等级精通 = 10
    是否有伤害 = 0
    # 本来还应该有个近战模式 降临：尼古拉斯(蜘蛛斩) 伤害和原尼古拉斯TP无关，只和服从等级相关
    # 不过用的太少而且很弱 就忽略掉了
    关联技能 = ['降临：尼古拉斯']
    # 蜘蛛斩
    # data0 = [int(i*1.0) for i in [0， 777, 957, 1138, 1318, 1498, 1679, 1859, 2039, 2220, 2400, 2580, 2761, 2941, 3121, 3302, 3482, 3662, 3843, 4023, 4203]]
    # hit0 = 1
    # CD = 2

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.0 + 0.04 * self.等级, 5)


class 技能5(被动技能):
    名称 = '黑暗之环'
    所在等级 = 20
    等级上限 = 20
    学习间隔 = 2
    等级精通 = 10

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.1 + 0.01 * self.等级, 5)


class 技能6(主动技能):
    名称 = '暗影蛛丝阵'
    所在等级 = 25
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    MP = [95, 952]
    data0 = [0, 405, 446, 486, 525, 568, 609, 649, 691, 730, 773, 814, 853, 895, 936, 977, 1018, 1058, 1101, 1141, 1181, 1223, 1264, 1303, 1346, 1387, 1425, 1467, 1508, 1550, 1589, 1630, 1673, 1714, 1753, 1796, 1835, 1878, 1918, 1958, 2000, 2039, 2082, 2123, 2164, 2206, 2246, 2285, 2328, 2368, 2408, 2451, 2489, 2534, 2573, 2613, 2654, 2695, 2737, 2778, 2818, 2860, 2900, 2940, 2982, 3024, 3065, 3104, 3146, 3187, 3228]
    hit0 = 19
    CD = 20
    TP成长 = 0.07
    TP上限 = 7


class 技能7(主动技能):
    名称 = '死亡之爪'
    所在等级 = 25
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    MP = [24, 259]
    data0 = [0, 3119, 3435, 3752, 4068, 4384, 4701, 5018, 5334, 5650, 5966, 6284, 6600, 6916, 7233, 7549, 7866, 8182, 8499, 8815, 9131, 9447, 9765, 10081, 10397, 10713, 11030, 11347, 11663, 11980, 12296, 12612, 12928, 13246, 13562, 13878, 14194, 14512, 14828, 15144, 15461, 15777, 16093, 16410, 16727, 17043, 17359, 17675, 17993, 18309, 18625, 18941, 19258, 19574, 19891, 20208, 20524, 20840, 21156, 21474, 21790, 22106, 22422, 22739, 23056, 23372, 23689, 24005, 24321, 24637, 24955]
    hit0 = 1
    CD = 7
    TP成长 = 0.10
    TP上限 = 7


class 技能8(主动技能):
    名称 = '死灵之怨'
    所在等级 = 30
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    MP = [32, 336]
    data0 = [0, 378, 416, 453, 493, 531, 569, 608, 646, 684, 722, 762, 800, 837, 876, 915, 953, 992, 1030, 1068, 1106, 1146, 1184, 1221, 1259, 1299, 1337, 1376, 1414, 1452, 1490, 1529, 1569, 1605, 1643, 1683, 1721, 1759, 1798, 1836, 1874, 1913, 1953, 1991, 2027, 2066, 2106, 2145, 2182, 2220, 2258, 2296, 2337, 2375, 2411, 2450, 2490, 2529, 2567, 2605, 2643, 2682, 2720, 2759, 2795, 2834, 2874, 2912, 2951, 2987, 3027]
    hit0 = 13
    CD = 10
    TP成长 = 0.10
    TP上限 = 7


class 技能9(主动技能):
    名称 = '百鬼夜行'
    所在等级 = 30
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    MP = [65, 700]
    data0 = [0, 331, 364, 398, 433, 465, 499, 534, 566, 600, 635, 665, 699, 732, 766, 800, 833, 868, 901, 934, 969, 1003, 1035, 1070, 1104, 1136, 1171, 1205, 1238, 1273, 1304, 1337, 1369, 1405, 1438, 1470, 1506, 1539, 1572, 1608, 1640, 1673, 1709, 1741, 1774, 1810, 1843, 1875, 1905, 1942, 1974, 2009, 2043, 2075, 2110, 2144, 2177, 2212, 2245, 2278, 2313, 2346, 2379, 2414, 2448, 2480, 2510, 2547, 2579, 2612, 2648]
    hit0 = 14
    CD = 12
    TP成长 = 0
    TP上限 = 7
    # 增加持续时间，hit0变化依次为 15 17 18 20 21 23 24
    TP倍率 = [1, 15/14, 17/14, 18/14, 20/14, 21/14, 23/14, 24/14, 26/14 , 26/14]

    def TP加成(self):
        return self.TP倍率[self.TP等级]

    形态 = ["自爆", "引爆"]

    def 形态变更(self, 形态, char):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "自爆":
            self.power0 = 1.2
        if 形态 == "引爆":
            self.power0 = 1.0


class 技能10(被动技能):
    名称 = '黑魔法书：亡者之魂'
    所在等级 = 30
    等级上限 = 10
    学习间隔 = 2
    等级精通 = 1
    关联技能 = ['暗魂波', '诅咒之箭', '驱使僵尸', '暗影蛛丝阵', '死亡之爪', '死灵之怨', '百鬼夜行', '降临：暴君巴拉克', '暗击拳', '巴拉克强击',
            '杀戮乱舞', '吸魂暗劲波', '巴拉克的野心', '降临：僵尸莱迪娅', '巴拉克的愤怒', '千魂祭', '死灵之缚', '怨噬之沼', '暗黑蛛丝引', '暴君极刑斩', '亡者君临：巴拉克之戮', '亡者之茧', '命运殇痕·摩罗斯之咒']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.21 + 0.015 * self.等级, 5)


class 技能11(主动技能):
    名称 = '降临：暴君巴拉克'
    所在等级 = 35
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    MP = [338, 3702]
    data0 = [0, 509, 523, 541, 557, 574, 592, 611, 630, 649, 669, 689, 711, 733, 756, 780, 803, 828, 853, 879, 905, 935, 964, 993, 1024, 1056, 1089, 1119, 1152, 1182, 1214, 1245, 1273, 1309, 1338, 1371, 1401, 1433, 1464, 1497, 1527, 1558, 1590, 1621, 1654, 1684, 1713, 1745, 1779, 1811, 1839, 1872, 1904, 1934, 1965, 1998, 2029, 2059, 2092, 2124, 2155, 2187, 2218, 2250, 2279, 2311, 2342, 2373, 2406, 2438, 2469]
    hit0 = 1
    data1 = [0, 564, 580, 599, 618, 638, 657, 678, 698, 719, 743, 764, 789, 813, 838, 864, 891, 918, 947, 977, 1006, 1038, 1070, 1104, 1137, 1172, 1208, 1244, 1280, 1314, 1347, 1384, 1417, 1454, 1489, 1522, 1557, 1591, 1629, 1662, 1696, 1731, 1766, 1802, 1838, 1872, 1906, 1940, 1976, 2010, 2048, 2080, 2115, 2149, 2185, 2220, 2255, 2290, 2325, 2359, 2392, 2428, 2463, 2499, 2532, 2568, 2603, 2639, 2673, 2708, 2741]
    hit1 = 1
    data2 = [0, 297, 305, 316, 325, 336, 345, 355, 367, 379, 390, 402, 414, 427, 440, 454, 470, 482, 497, 514, 529, 546, 562, 579, 597, 616, 636, 653, 672, 691, 710, 726, 746, 764, 782, 800, 818, 838, 856, 872, 894, 909, 928, 947, 965, 985, 1001, 1019, 1039, 1056, 1071, 1093, 1112, 1131, 1149, 1166, 1185, 1203, 1222, 1239, 1258, 1277, 1295, 1314, 1331, 1350, 1368, 1387, 1401, 1420, 1439]
    hit2 = 5
    data3 = [0, 678, 699, 721, 743, 767, 789, 814, 839, 864, 891, 920, 948, 978, 1007, 1038, 1071, 1104, 1138, 1172, 1209, 1247, 1285, 1324, 1367, 1408, 1452, 1492, 1535, 1577, 1617, 1659, 1704, 1742, 1783, 1827, 1869, 1910, 1953, 1995, 2036, 2078, 2122, 2163, 2205, 2244, 2287, 2329, 2372, 2411, 2455, 2497, 2538, 2582, 2621, 2663, 2705, 2748, 2789, 2830, 2874, 2915, 2958, 2997, 3041, 3083, 3124, 3167, 3207, 3249, 3292]
    hit3 = 1
    CD = 1  # 非实际CD
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    def 装备护石(self, char):
        pass

    形态 = ["x4", "x3"]

    def 形态变更(self, 形态, char):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "x4":
            self.hit0 = 1
            self.hit1 = 1
            self.hit2 = 5
            self.hit3 = 1
        if 形态 == "x3":
            self.hit0 = 1
            self.hit1 = 1
            self.hit2 = 5
            self.hit3 = 0


class 技能12(主动技能):
    名称 = '暗击拳'
    所在等级 = 35
    等级上限 = 1
    基础等级 = 1
    MP = [338, 3702]
    data0 = [0, 1182, 1219, 1255, 1295, 1334, 1375, 1419, 1461, 1508, 1553, 1602, 1651, 1702, 1754, 1810, 1865, 1923, 1983, 2043, 2106, 2171, 2240, 2309, 2379, 2454, 2529, 2602, 2673, 2748, 2818, 2893, 2965, 3037, 3111, 3185, 3258, 3330, 3404, 3474, 3549, 3623, 3694, 3767, 3837, 3915, 3988, 4059, 4133, 4205, 4278, 4350, 4424, 4498, 4568, 4643, 4716, 4789, 4862, 4934, 5009, 5080, 5155, 5225, 5299, 5372, 5445, 5518, 5590, 5665, 5736]
    hit0 = 1
    data1 = [0, 1508, 1553, 1602, 1651, 1700, 1754, 1807, 1864, 1922, 1980, 2042, 2105, 2171, 2238, 2309, 2380, 2452, 2527, 2608, 2688, 2768, 2857, 2946, 3035, 3128, 3226, 3315, 3413, 3502, 3591, 3689, 3778, 3875, 3964, 4058, 4157, 4246, 4343, 4432, 4521, 4615, 4708, 4806, 4895, 4993, 5082, 5175, 5273, 5362, 5460, 5545, 5638, 5731, 5825, 5919, 6011, 6105, 6199, 6293, 6382, 6474, 6568, 6662, 6755, 6848, 6942, 7035, 7129, 7222, 7311]
    hit1 = 0
    CD = 3.0

    形态 = ["可抓", "非抓"]

    def 形态变更(self, 形态, char):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "可抓":
            self.hit0 = 1
            self.hit1 = 0
        if 形态 == "非抓":
            self.hit0 = 1
            self.hit1 = 1

    def MP消耗(self, **argv):
        char = argv.get('char', {})
        return char.get_skill_by_name("降临：暴君巴拉克").MP消耗(**argv)


class 技能13(主动技能):
    名称 = '巴拉克强击'
    所在等级 = 35
    等级上限 = 1
    基础等级 = 1
    MP = [338, 3702]
    data0 = [0, 2177, 2244, 2313, 2385, 2457, 2536, 2615, 2695, 2780, 2863, 2952, 3041, 3137, 3235, 3334, 3439, 3546, 3655, 3766, 3884, 4004, 4129, 4256, 4386, 4522, 4661, 4797, 4930, 5066, 5198, 5333, 5465, 5600, 5736, 5870, 6007, 6138, 6275, 6406, 6542, 6677, 6810, 6945, 7079, 7216, 7352, 7484, 7620, 7753, 7889, 8020, 8156, 8292, 8424, 8559, 8695, 8829, 8965, 9096, 9233, 9367, 9503, 9634, 9770, 9903, 10039, 10174, 10308, 10441, 10577]
    hit0 = 1
    CD = 2.0

    def MP消耗(self, **argv):
        char = argv.get('char', {})
        return char.get_skill_by_name("降临：暴君巴拉克").MP消耗(**argv)


class 技能14(主动技能):
    名称 = '杀戮乱舞'
    所在等级 = 35
    等级上限 = 1
    基础等级 = 1
    MP = [338, 3702]
    data0 = [0, 997, 1026, 1057, 1090, 1125, 1160, 1197, 1233, 1272, 1310, 1350, 1392, 1435, 1481, 1525, 1573, 1623, 1672, 1724, 1778, 1832, 1890, 1947, 2007, 2069, 2132, 2196, 2257, 2317, 2380, 2440, 2501, 2563, 2625, 2685, 2748, 2807, 2870, 2932, 2994, 3054, 3117, 3178, 3241, 3302, 3364, 3426, 3487, 3548, 3611, 3671, 3731, 3795, 3855, 3917, 3980, 4040, 4103, 4164, 4225, 4287, 4349, 4409, 4472, 4532, 4593, 4656, 4718, 4777, 4841]
    hit0 = 3
    CD = 7.0

    国服特色 = 1.05

    def MP消耗(self, **argv):
        char = argv.get('char', {})
        return char.get_skill_by_name("降临：暴君巴拉克").MP消耗(**argv)

    # 是否有护石 = 1

    def 等效百分比(self, **argv):
        char = argv.get('char', {})
        if "降临：暴君巴拉克" in char.护石栏:
            self.hit0 = 5
            self.power0 = 1.2862
        return super().等效百分比(**argv)


class 技能15(主动技能):
    名称 = '吸魂暗劲波'
    所在等级 = 40
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60

    data0 = [0, 1791, 1972, 2154, 2336, 2518, 2699, 2880, 3063, 3245, 3426, 3608, 3790, 3971, 4153, 4336, 4516, 4698, 4880, 5062, 5243, 5425, 5607, 5790, 5970, 6152, 6335, 6515, 6697, 6879, 7061, 7242, 7424, 7606, 7789, 7969, 8151, 8334, 8514, 8696, 8878, 9059, 9241, 9423, 9605, 9787, 9968, 10150, 10333, 10513, 10695, 10877, 11058, 11241, 11422, 11604, 11786, 11967, 12149, 12332, 12512, 12695, 12876, 13057, 13240, 13421, 13603, 13785, 13966, 14149, 14331]
    hit0 = 2
    data1 = [0, 8068, 8885, 9705, 10523, 11342, 12160, 12978, 13797, 14616, 15434, 16252, 17071, 17890, 18707, 19527, 20345, 21163, 21982, 22800, 23620, 24437, 25257, 26075, 26893, 27712, 28530, 29349, 30168, 30985, 31804, 32623, 33441, 34259, 35078, 35897, 36715, 37534, 38352, 39171, 39989, 40807, 41627, 42444, 43264, 44082, 44900, 45719, 46537, 47356, 48175, 48992, 49811, 50630, 51449, 52267, 53085, 53904, 54723, 55541, 56359, 57178, 57996, 58814, 59634, 60452, 61271, 62089, 62907, 63727, 64544]
    hit1 = 1
    CD = 35
    TP成长 = 0.1
    TP上限 = 5

    国服特色 = 1.0455

    MP = [164, 1376]
    无色消耗 = 1


class 技能16(主动技能):
    名称 = '巴拉克的野心'
    所在等级 = 40
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60

    data0 = [0, 2401, 2644, 2889, 3134, 3375, 3619, 3864, 4107, 4350, 4594, 4840, 5082, 5325, 5569, 5811, 6057, 6301, 6543, 6788, 7032, 7275, 7518, 7762, 8006, 8250, 8493, 8736, 8980, 9225, 9466, 9711, 9955, 10199, 10443, 10686, 10929, 11174, 11419, 11660, 11904, 12150, 12392, 12635, 12879, 13124, 13367, 13610, 13854, 14098, 14342, 14586, 14828, 15072, 15317, 15559, 15804, 16047, 16290, 16535, 16779, 17021, 17265, 17511, 17753, 17996, 18240, 18485, 18727, 18971, 19214]
    hit0 = 1
    data1 = [0, 10782, 11877, 12970, 14065, 15158, 16252, 17347, 18440, 19534, 20627, 21722, 22816, 23909, 25005, 26099, 27192, 28286, 29381, 30474, 31568, 32662, 33756, 34850, 35943, 37038, 38130, 39224, 40320, 41413, 42507, 43600, 44695, 45789, 46882, 47977, 49070, 50164, 51258, 52353, 53447, 54541, 55635, 56729, 57822, 58916, 60011, 61104, 62198, 63293, 64386, 65481, 66575, 67669, 68761, 69855, 70950, 72043, 73137, 74232, 75325, 76419, 77512, 78607, 79702, 80795, 81890, 82984, 84077, 85171, 86265]
    hit1 = 1
    CD = 25
    TP成长 = 0.1
    TP上限 = 5

    MP = [164, 1376]
    无色消耗 = 1

    是否有护石 = 1

    国服特色 = 1.0457

    def 装备护石(self, char):
        self.倍率 *= 1.18 * 1.18
        self.CDR *= 0.94


class 技能17(被动技能):
    名称 = '巴拉克的盟约'
    所在等级 = 40
    等级上限 = 10
    学习间隔 = 2
    等级精通 = 1

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.38 + 0.02 * self.等级, 5)


class 技能18(主动技能):
    名称 = '降临：僵尸莱迪娅'
    所在等级 = 45
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60

    data0 = [0, 690, 759, 829, 898, 966, 1036, 1109, 1178, 1245, 1317, 1386, 1457, 1526, 1598, 1666, 1735, 1806, 1876, 1945, 2014, 2084, 2153, 2225, 2294, 2365, 2433, 2503, 2574, 2643, 2712, 2783, 2852, 2922, 2992, 3061, 3134, 3203, 3269, 3344, 3411, 3484, 3550, 3623, 3687, 3760, 3831, 3903, 3973, 4037, 4111, 4178, 4251, 4320, 4388, 4458, 4529, 4601, 4668, 4739, 4808, 4878, 4946, 5018, 5088, 5158, 5227, 5295, 5369, 5436, 5508]
    hit0 = 30
    CD = 45
    TP成长 = 0.1
    TP上限 = 5

    MP = [380, 3192]
    无色消耗 = 2

    CP武器 = False

    形态 = ["蓄力", "非蓄"]

    国服特色 = 1.042

    def 形态变更(self, 形态, char):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if self.CP武器:
            形态 = "非蓄"
        if 形态 == "蓄力":
            self.power0 = 1.3
        if 形态 == "非蓄":
            self.power0 = 1.0


class 技能19(主动技能):
    名称 = '巴拉克的愤怒'
    所在等级 = 45
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60

    data0 = [0, 1181, 1302, 1423, 1542, 1661, 1783, 1901, 2021, 2142, 2261, 2382, 2501, 2620, 2742, 2861, 2981, 3102, 3222, 3341, 3461, 3583, 3701, 3820, 3941, 4060, 4180, 4301, 4421, 4541, 4661, 4781, 4900, 5021, 5142, 5262, 5381, 5502, 5620, 5739, 5860, 5980, 6102, 6221, 6340, 6461, 6580, 6699, 6820, 6942, 7061, 7181, 7301, 7420, 7539, 7659, 7778, 7900, 8021, 8139, 8259, 8380, 8500, 8618, 8740, 8861, 8981, 9100, 9220, 9338, 9458]
    hit0 = 1
    data1 = [0, 1186, 1307, 1426, 1547, 1668, 1789, 1909, 2029, 2150, 2270, 2391, 2511, 2632, 2753, 2872, 2993, 3113, 3235, 3354, 3476, 3596, 3716, 3836, 3957, 4078, 4198, 4320, 4439, 4559, 4681, 4800, 4921, 5040, 5163, 5281, 5401, 5523, 5643, 5763, 5883, 6005, 6125, 6247, 6366, 6486, 6607, 6726, 6848, 6969, 7090, 7209, 7329, 7450, 7571, 7691, 7812, 7933, 8053, 8172, 8293, 8414, 8536, 8656, 8776, 8896, 9016, 9136, 9258, 9379, 9499]
    hit1 = 1
    data2 = [0, 1005, 1106, 1209, 1309, 1412, 1513, 1616, 1716, 1820, 1920, 2024, 2125, 2227, 2329, 2431, 2532, 2635, 2736, 2838, 2943, 3043, 3145, 3247, 3349, 3450, 3552, 3653, 3754, 3856, 3959, 4060, 4164, 4264, 4368, 4468, 4571, 4672, 4774, 4875, 4978, 5079, 5181, 5284, 5386, 5486, 5590, 5690, 5794, 5894, 5997, 6100, 6202, 6303, 6405, 6508, 6608, 6712, 6812, 6915, 7016, 7119, 7220, 7324, 7424, 7527, 7628, 7730, 7832, 7934, 8034]
    hit2 = 4
    data3 = [0, 4267, 4701, 5134, 5568, 6001, 6434, 6869, 7301, 7735, 8167, 8602, 9033, 9467, 9901, 10333, 10767, 11201, 11631, 12065, 12499, 12932, 13365, 13799, 14231, 14665, 15096, 15531, 15963, 16398, 16830, 17265, 17696, 18131, 18563, 18995, 19429, 19862, 20294, 20728, 21162, 21593, 22027, 22461, 22894, 23327, 23760, 24194, 24625, 25061, 25492, 25927, 26359, 26793, 27226, 27660, 28090, 28525, 28958, 29390, 29825, 30256, 30691, 31124, 31559, 31989, 32424, 32857, 33291, 33723, 34157]
    hit3 = 1
    data4 = [0, 10690, 11775, 12861, 13945, 15031, 16115, 17199, 18284, 19369, 20454, 21538, 22624, 23706, 24793, 25877, 26960, 28045, 29131, 30215, 31300, 32386, 33469, 34555, 35640, 36723, 37809, 38893, 39978, 41062, 42149, 43230, 44315, 45401, 46486, 47571, 48656, 49742, 50824, 51908, 52995, 54079, 55164, 56249, 57333, 58416, 59504, 60587, 61670, 62757, 63840, 64926, 66011, 67095, 68180, 69265, 70349, 71434, 72520, 73603, 74689, 75771, 76856, 77942, 79025, 80111, 81196, 82281, 83366, 84449, 85534]
    hit4 = 1
    CD = 45
    TP成长 = 0.1
    TP上限 = 5
    是否有护石 = 1

    MP = [380, 3192]
    无色消耗 = 2

    国服特色 = 1.0455

    def 装备护石(self, char):
        self.倍率 *= 1.12 * 1.13
        self.CDR *= 0.89


class 技能20(被动技能):
    名称 = '屠戮之惧'
    所在等级 = 48
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.075 + 0.015 * self.等级, 5)


class 技能21(主动技能):
    名称 = '千魂祭'
    所在等级 = 50
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40

    data0 = [0, 775, 954, 1133, 1313, 1493, 1675, 1851, 2032, 2213, 2391, 2571, 2751, 2931, 3111, 3291, 3470, 3650, 3830, 4009, 4190, 4368, 4549, 4727, 4908, 5088, 5268, 5448, 5627, 5807, 5986, 6165, 6345, 6526, 6707, 6884, 7065, 7245, 7424, 7602, 7783, 7963, 8142, 8323, 8503, 8682, 8862, 9042, 9221, 9401, None]
    hit0 = 9
    data1 = [0, 2686, 3309, 3931, 4557, 5179, 5805, 6427, 7050, 7673, 8298, 8920, 9545, 10166, 10789, 11412, 12034, 12658, 13283, 13905, 14529, 15152, 15774, 16397, 17022, 17644, 18267, 18892, 19514, 20138, 20759, 21383, 22006, 22629, 23254, 23878, 24500, 25124, 25747, 26370, 26992, 27616, 28239, 28863, 29485, 30109, 30732, 31356, 31978, 32601, None]
    hit1 = 13
    data2 = [0, 17483, 21536, 25592, 29644, 33699, 37752, 41807, 45860, 49916, 53969, 58025, 62077, 66131, 70185, 74239, 78293, 82348, 86403, 90454, 94510, 98563, 102619, 106672, 110727, 114781, 118834, 122887, 126943, 130996, 135051, 139105, 143157, 147212, 151266, 155320, 159375, 163430, 167483, 171538, 175590, 179645, 183699, 187753, 191807, 195861, 199915, 203969, 208023, 212078, None]
    hit2 = 1
    CD = 145

    MP = [881, 7403]
    无色消耗 = 5

    国服特色 = 1.0437

    #
    def 技能描述(self, 武器类型):
        temp = ''
        temp += '降临：尼古拉斯(蜘蛛团/黑蜘蛛), 降临：尼古拉斯(艾克洛索/艾克尼亚) Lv+5<br>'
        temp += '降临：暴君巴拉克(平x), 降临：暴君巴拉克(暗击拳), 降临：暴君巴拉克(巴拉克强击),降临：暴君巴拉克(杀戮乱舞)Lv+4'
        return temp


class 技能22(主动技能):
    名称 = '死灵之缚'
    所在等级 = 60
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40

    data0 = [0, 1104, 1215, 1328, 1439, 1550, 1665, 1776, 1885, 1997, 2108, 2222, 2334, 2446, 2555, 2668, 2784, 2894, 3006, 3119, 3229, 3340, 3454, 3564, 3677, 3786, 3898, 4011, 4123, 4240, 4350, 4459, 4570, 4685, 4796, 4909, 5019, 5131, 5242, 5356, 5467, 5578, 5691, 5802, 5912, 6029, 6140, 6252, 6361, 6474, 6586]
    hit0 = 20
    CD = 30
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    MP = [400, 1120]
    无色消耗 = 2

    国服特色 = 1.0457

    def 装备护石(self, char):
        # 实际情况是先是一个4hit+1hit组成；4hit部分占原伤害的30%，1hit部分为原伤害的1.21*0.88
        self.倍率 *= 0.3+1.21*0.88


class 技能23(主动技能):
    名称 = '怨噬之沼'
    所在等级 = 70
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40

    data0 = [0, 7051, 7768, 8484, 9198, 9916, 10630, 11346, 12060, 12778, 13493, 14208, 14922, 15640, 16355, 17070, 17787, 18503, 19217, 19932, 20649, 21365, 22079, 22797, 23511, 24227, 24941, 25659, 26374, 27089, 27806, 28521, 29236, 29950, 30668, 31382, 32098, 32816, 33530, 34245, 34960, 35678, 36392, 37107, 37822, 38539, 39255, 39969, 40687, 41401, 42117]
    hit0 = 1
    data1 = [0, 3524, 3885, 4241, 4599, 4957, 5314, 5671, 6029, 6389, 6747, 7103, 7461, 7819, 8177, 8533, 8894, 9251, 9609, 9966, 10323, 10681, 11038, 11398, 11756, 12113, 12471, 12828, 13185, 13543, 13903, 14260, 14618, 14976, 15332, 15690, 16048, 16408, 16766, 17122, 17480, 17838, 18194, 18552, 18910, 19270, 19627, 19984, 20342, 20700, 21057]
    hit1 = 3
    data2 = [0, 2350, 2589, 2827, 3064, 3304, 3541, 3782, 4019, 4259, 4496, 4734, 4974, 5212, 5451, 5689, 5929, 6167, 6404, 6644, 6881, 7122, 7358, 7599, 7836, 8074, 8313, 8551, 8791, 9029, 9268, 9506, 9743, 9984, 10221, 10461, 10698, 10939, 11176, 11413, 11653, 11891, 12130, 12368, 12605, 12846, 13083, 13323, 13560, 13801, 14038]
    hit2 = 3
    data3 = [0, 10578, 11653, 12725, 13801, 14873, 15945, 17020, 18093, 19167, 20239, 21314, 22387, 23459, 24534, 25606, 26682, 27754, 28829, 29901, 30973, 32048, 33120, 34195, 35267, 36339, 37415, 38487, 39562, 40634, 41709, 42782, 43854, 44928, 46001, 47076, 48148, 49223, 50296, 51368, 52443, 53515, 54590, 55663, 56735, 57809, 58881, 59957, 61029, 62104, 63176]
    hit3 = 1
    CD = 50
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    MP = [800, 1680]
    无色消耗 = 1

    国服特色 = 1.0457

    def 装备护石(self, char):
        self.倍率 *= 1.3


class 技能24(主动技能):
    名称 = '暗黑蛛丝引'  # 一部分伤害统计时分给尼古拉斯了，约2.32765倍
    所在等级 = 75
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40

    data0 = [0, 7814, 8610, 9401, 10190, 10986, 11777, 12574, 13362, 14157, 14951, 15741, 16536, 17326, 18122, 18911, 19707, 20499, 21292, 22086, 22876, 23671, 24463, 25257, 26048, 26844, 27633, 28429, 29220, 30011, 30807, 31596, 32392, 33183, 33978, 34769, 35560, 36356, 37149, 37941, 38732, 39526, 40319, 41112, 41904, 42697, 43490, 44282, 45075, 45869, 46662]
    hit0 = 1
    data1 = [0, 10419, 11480, 12533, 13588, 14648, 15704, 16764, 17819, 18878, 19934, 20986, 22047, 23103, 24165, 25216, 26276, 27331, 28392, 29448, 30501, 31561, 32614, 33677, 34729, 35791, 36846, 37907, 38959, 40015, 41076, 42130, 43190, 44243, 45304, 46359, 47413, 48474, 49529, 50588, 51644, 52702, 53758, 54816, 55872, 56930, 57987, 59043, 60101, 61157, 62215]
    hit1 = 1
    data2 = [0, 1303, 1434, 1567, 1700, 1830, 1964, 2095, 2228, 2358, 2493, 2626, 2756, 2888, 3020, 3152, 3283, 3417, 3547, 3680, 3814, 3945, 4078, 4209, 4341, 4473, 4606, 4736, 4870, 5003, 5132, 5267, 5399, 5531, 5661, 5795, 5928, 6058, 6192, 6324, 6455, 6587, 6720, 6851, 6984, 7116, 7248, 7380, 7512, 7644, 7776]
    hit2 = 6
    CD = 20
    是否有护石 = 1

    MP = [580, 4500]
    无色消耗 = 3

    国服特色 = 1.0444

    def 装备护石(self, char):
        self.hit0 = 0
        self.hit1 = 0
        self.power2 = 4.53
        self.CDR *= 0.9


class 技能25(被动技能):
    名称 = '亡魂之息'
    所在等级 = 75
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40
    关联技能 = ['降临：尼古拉斯', '驱使僵尸', '暗影蛛丝阵', '死亡之爪', '死灵之怨', '百鬼夜行',
            '降临：暴君巴拉克', '暗击拳', '巴拉克强击',
            '杀戮乱舞', '吸魂暗劲波', '巴拉克的野心', '降临：僵尸莱迪娅',
            '巴拉克的愤怒', '千魂祭', '死灵之缚', '怨噬之沼', '暗黑蛛丝引', '暴君极刑斩', '亡者君临：巴拉克之戮', '亡者之茧', '命运殇痕·摩罗斯之咒']
    关联技能1 = ['暗魂波', '诅咒之箭']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.16 + 0.02 * self.等级, 5)

    def 加成倍率1(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.31 + 0.02 * self.等级, 5)


class 技能26(主动技能):
    名称 = '暴君极刑斩'
    所在等级 = 80
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40

    data0 = [0, 58369, 64291, 70212, 76134, 82055, 87977, 93899, 99820, 105742, 111663, 117585, 123507, 129428, 135349, 141271, 147192, 153115, 159035, 164958, 170877, 176800, 182722, 188643, 194566, 200486, 206409, 212328, 218251, 224171, 230094, 236015, 241937, 247859, 253779, 259702, 265623, 271545, 277466, 283388, 289309, 295230, 301152, 307074, 312995, 318917, 324839, 330760, 336681, 342603, 348525]
    hit0 = 1
    CD = 45
    是否有护石 = 1

    MP = [800, 6000]
    无色消耗 = 5

    国服特色 = 1.0457

    def 装备护石(self, char):
        self.倍率 *= 1.31


class 技能27(主动技能):
    名称 = '亡者君临：巴拉克之戮'
    所在等级 = 85
    等级上限 = 40
    学习间隔 = 5
    等级精通 = 30

    data0 = [0, 25652, 31602, 37548, 43498, 49448, 55395, 61346, 67293, 73242, 79189, 85139, 91090, 97037, 102986, 108933, 114882, 120831, 126777, 132728, 138678, 144625, 150575, 156522, 162471, 168418, 174370, 180318, 186266, 192216, 198162, 204112, 210060, 216010, 221958, 227907, 233854, 239804, 245752, 251700, 257647, 263598, 269547, 275495, 281444, 287392, 293342, 299290, 305239, 311187, 317136]
    hit0 = 1
    data1 = [0, 3497, 4308, 5117, 5928, 6739, 7550, 8363, 9174, 9985, 10796, 11604, 12415, 13227, 14038, 14848, 15659, 16470, 17281, 18092, 18903, 19713, 20524, 21335, 22146, 22958, 23771, 24580, 25391, 26201, 27012, 27823, 28632, 29443, 30254, 31065, 31876, 32687, 33497, 34309, 35120, 35931, 36742, 37553, 38363, 39174, 39985, 40796, 41607, 42418, 43229]
    hit1 = 11
    data2 = [0, 64133, 79006, 93878, 108750, 123623, 138492, 153364, 168237, 183108, 197981, 212852, 227723, 242595, 257467, 272340, 287211, 302083, 316956, 331827, 346697, 361570, 376441, 391314, 406186, 421059, 435931, 450799, 465672, 480544, 495415, 510289, 525161, 540033, 554905, 569773, 584646, 599520, 614391, 629263, 644136, 659007, 673878, 688750, 703622, 718493, 733366, 748237, 763109, 777981, 792852]
    hit2 = 1
    CD = 180

    国服特色 = 1.0457

    MP = [1500, 5000]
    无色消耗 = 10


class 技能28(被动技能):
    名称 = '冥河之钥'
    所在等级 = 95
    等级上限 = 40
    学习间隔 = 3
    等级精通 = 30

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.18 + 0.02 * self.等级, 5)


class 技能29(主动技能):
    名称 = '亡者之茧'
    所在等级 = 95
    等级上限 = 40
    学习间隔 = 2
    等级精通 = 30

    data0 = [0, 6781, 7470, 8157, 8844, 9534, 10220, 10909, 11597, 12286, 12973, 13660, 14349, 15038, 15724, 16413, 17100, 17789, 18477, 19164, 19852, 20539, 21229, 21917, 22603, 23292, 23981, 24668, 25356, 26043, 26733, 27420, 28108, 28796, 29482, 30172, 30860, 31548, 32235, 32925, 33612, 34299, 34987, 35676, 36365, 37051, 37739, 38428, 39115, 39804, 40491]
    hit0 = 5
    data1 = [0, 79115, 87141, 95166, 103192, 111219, 119246, 127271, 135298, 143324, 151349, 159376, 167401, 175430, 183455, 191480, 199507, 207535, 215560, 223586, 231612, 239639, 247664, 255690, 263715, 271744, 279769, 287795, 295821, 303846, 311875, 319900, 327926, 335952, 343978, 352006, 360031, 368057, 376084, 384108, 392134, 400160, 408189, 416213, 424240, 432265, 440295, 448319, 456344, 464371, 472397]
    hit1 = 1
    CD = 60.0

    MP = [1066, 8000]
    无色消耗 = 7

    国服特色 = 1.0455


class 技能30(主动技能):
    名称 = '命运殇痕·摩罗斯之咒'
    所在等级 = 100
    等级上限 = 40
    学习间隔 = 5
    等级精通 = 30

    data0 = [0, 379589, 467614, 555635, 643656, 731677, 819698, 907721, 995743, 1083764, 1171784, 1259805, 1347829, 1435850, 1523871, 1611892, 1699913, 1787937, 1875959, 1963980, 2051999, 2140020, 2228045, 2316066, 2404087, 2492109, 2580129, 2668152, 2756174, 2844195, 2932215, 3020236, 3108260, 3196281, 3284302, 3372324, 3460344, 3548367, 3636389, 3724410, 3812430, 3900451, 3988476, 4076497, 4164517, 4252540, 4340559, 4428583, 4516605, 4604626, 4692647]
    hit0 = 1
    CD = 290.0

    MP = [4027, 12888]
    无色消耗 = 15

    国服特色 = 1.0448


class 技能31(被动技能):
    名称 = '手杖精通'
    所在等级 = 15
    等级精通 = 1
    等级上限 = 1
    学习间隔 = 1
    冷却关联技能 = ['所有']
    非冷却关联技能 = ['千魂祭', '亡者君临：巴拉克之戮', '命运殇痕·摩罗斯之咒']

    def CD缩减倍率(self, 武器类型):
        if 武器类型 == '手杖' and self.等级 > 0:
            return 0.9
        else:
            return 1.0


class classChange(Character):
    def __init__(self, equVersion=""):
        self.实际名称 = 'necro'
        self.名称 = '隐夜·死灵术士'
        self.角色 = '暗夜使者'
        self.角色类型 = '输出'
        self.职业 = '死灵术士'
        self.武器选项 = ['手杖']
        self.输出类型选项 = ['魔法百分比']
        self.防具精通属性 = ['智力']
        self.类型 = '魔法百分比'
        self.武器类型 = '手杖'
        self.防具类型 = '轻甲'
        技能列表 = []
        技能序号 = {}
        i = 0
        while i >= 0:
            try:
                tem = eval('技能'+str(i)+'()')
                tem.基础等级计算()
                技能序号[tem.名称] = i
                技能列表.append(tem)
                i += 1
            except:
                i = -1
        self.技能栏 = 技能列表
        self.技能序号 = 技能序号
        self.buff = 2.14

        super().__init__(equVersion)

    def set_skill_info(self, info, rune_except=[], clothes_pants=[]):
        super().set_skill_info(info, rune_except=[
            '降临：暴君巴拉克', '杀戮乱舞', '巴拉克强击', '暗击拳'],)

    def 职业特殊计算(self):

        暴君巴拉克 = self.get_skill_by_name("降临：暴君巴拉克")
        等级 = 暴君巴拉克.等级
        TP = 暴君巴拉克.TP等级
        杀戮乱舞 = self.get_skill_by_name("杀戮乱舞")
        杀戮乱舞.等级 = 等级
        杀戮乱舞.等级上限 = 70
        杀戮乱舞.TP上限 = 5
        杀戮乱舞.TP成长 = 0.1
        杀戮乱舞.TP等级 = TP
        巴拉克强击 = self.get_skill_by_name("巴拉克强击")
        巴拉克强击.等级 = 等级
        巴拉克强击.等级上限 = 70
        巴拉克强击.TP上限 = 5
        巴拉克强击.TP成长 = 0.1
        巴拉克强击.TP等级 = TP
        暗击拳 = self.get_skill_by_name("暗击拳")
        暗击拳.等级 = 等级
        暗击拳.等级上限 = 70
        暗击拳.TP上限 = 5
        暗击拳.TP成长 = 0.1
        暗击拳.TP等级 = TP
